﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace FrbaCommerce.Historial_Cliente
{
    public partial class FormHistorial : Form
    {
        
        private int user_id;

        public FormHistorial(int user_id)
        {
            InitializeComponent();
            this.user_id = user_id;
        }

        private void buttonHistCompras_Click(object sender, EventArgs e)
        {
            Form historial = new Calificar_Vendedor.ListadoCompras(user_id,false);
            historial.Show();
        }

        private void buttonSalir_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void buttonHistOfertas_Click(object sender, EventArgs e)
        {
            Form historial = new Historial_Cliente.ListadoOfertas(user_id);
            historial.Show();
        }

        private void buttonHistCalif_Click(object sender, EventArgs e)
        {
            Form historial = new Historial_Cliente.ListadoCalif(user_id);
            historial.Show();
        }

        private void FormHistorial_Load(object sender, EventArgs e)
        {

        }
    }
}
